package com.mwm.loyal.service;

import com.mwm.loyal.bean.UserBean;

public interface UserService {
    int register(UserBean deviceBean);

    int destroy(UserBean deviceBean);

    UserBean queryUser(String username);

    UserBean login(UserBean deviceBean);

    UserBean getByUsername(String username);

    int updateAccount(UserBean deviceBean);

    int updatePassword(UserBean deviceBean);

    UserBean queryLock(UserBean deviceBean);

    int updateLocked(UserBean deviceBean);

}
